﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CanDoo.Oil.Core.DTOs
{
    /// <summary>
    /// 1.1.7会员取油信息
    /// </summary>
    public class OilTankUserInfo
    {
        /// <summary>
        /// 终端号
        /// </summary>
        [Display(Name = "终端号")]
        public string terminalNo { get; set; }

        /// <summary>
        ///  取油量
        /// </summary>
        [Required]
        [Display(Name = "取油量")]
        public int millilitre { get; set; }

        /// <summary>
        /// 油口
        /// </summary>
        [Required]
        [Display(Name = "油口")]
        public int oilPort { get; set; }

        /// <summary>
        /// 取油金额
        /// </summary>
        [Required]
        [Display(Name = "取油金额")]
        public int amount { get; set; }

        /// <summary>
        ///油品id
        /// </summary>
        [Required]
        [Display(Name = "油品id")]
        public string oilId { get; set; }

        /// <summary>
        /// 会员卡号
        /// </summary>
        [Required]
        [Display(Name = "会员卡号")]
        public string cardNo { get; set; }

        /// <summary>
        /// 油价
        /// </summary>
        [Required]
        [Display(Name = "油价")]
        public int price { get; set; }
    }
}